/* #include <iostream> */
/* #include "../include/Password.h" */

/* int main() */
/* { */
/*     using namespace moqi; */
/*     string setting = genRandomSalt(8); */
/*     cout << setting << endl; */
/*     cout << "请输入新用户密码" << endl; */
/*     string password; */
/*     cin >> password; */

/*     string Encrypt = createEncrypt(password, setting); */
/*     cout << Encrypt << endl; */
/*     int sum = 3; */
/*     while (sum--) */
/*     { */
/*         string mima; */
/*         cout << "请输入验证密码" << endl; */
/*         cin >> mima; */
/*         bool issame = isCodeSame(createEncrypt(mima, setting), Encrypt); */
/*         if (issame) */
/*         { */
/*             cout << "密码正确" << endl; */
/*             return 0; */
/*         } */
/*         else */
/*         { */
/*             cout << "密码错误" << endl; */
/*             cout << "还有" << sum << "次机会" << endl; */ 
/*         } */
/*     } */
/*     cout << "密码错误3次，锁定1小时" << endl; */


/*     return 0; */
/* } */
